<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form"   uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c"      uri="http://java.sun.com/jsp/jstl/core"%>
<script>
</script>
<form:form modelAttribute="account" cssClass="niceform" name="ec">
<div class="widget" style="border-radius: 2px 2px 2px 2px;border:1px solid #d5d5d5;border-top:none;">
<div class="head"><h5 class="iDropper">Current user:${account.acctName}</h5>
</div>
<table width="98.5%"  border="1" cellspacing="0" cellpadding="0" >
    <thead>
	<tr>
		<th>请选择</th>
		<th>数据角色名称</th>
		<th>状态</th>
        <th>描述</th>
	</tr>
	</thead>
	<tbody>
	<c:forEach var="dataRole" items="${efwUserDataList}" varStatus="s">
		<tr <c:if test="${!(s.index%2==0) }"> class="tdbgcolor"</c:if>>
			<td align="center">
			<input type="checkbox"  name="boxId"  value="${dataRole.id}" name="id"
			 <c:forEach var="userDataList" items="${allUserDataList}">
			   <c:if test="${userDataList.efwDataRole.id==dataRole.id}">
			   	checked
			   </c:if>
		   </c:forEach>></td>
			<td><c:out value="${dataRole.daName}"/></td>
			<td><c:out value="${dataRole.status}"/></td>
			<td><c:out value="${dataRole.description}"/></td>
		</tr>
	</c:forEach>
	</tbody>
</table>
</div>
</form:form>